#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include"xh.h"
int main() {
	stack s=creatstack();
	printf("\n------------------push---------------\n");
	push(s, 1);
	push(s, 2);
	push(s, 3);
	push(s, 4);
	print(s);
	printf("\n------------------top---------------\n");
	int t=top(s);
	printf("%d",t);
	printf("\n------------------pop---------------\n");
	pop(s);
	print(s);

	deletstack(s);
	printf("deletstack:\n");
	return 0;
}